//
//  Common.h
//  WisdomStudy
//
//  Created by  androidlongs on 2017/8/26.
//  Copyright © 2017年  androidlongs. All rights reserved.
//

#ifndef Common_h
#define Common_h




#define PNColor(r, g, b) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:1.0]
//判断版本
#define IsIOS7 ([[[UIDevice currentDevice] systemVersion] floatValue] < 8.0 ? YES : NO)
//获得屏幕的宽高
#define  mainW [UIScreen mainScreen].bounds.size.width
#define  mainH [UIScreen mainScreen].bounds.size.height
//弧度换角度
#define DEGREES_TO_RADIANS(angle) ((angle) / 180.0 * M_PI)



#endif /* Common_h */
